<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS 测试页面</title>
    <style>
        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f9fafb;
        }
        .test-container {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        .success {
            color: #10b981;
            font-weight: 600;
        }
        .test-item {
            margin: 15px 0;
            padding: 15px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
        }
        .btn-test {
            background-color: #ef4444;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            margin: 5px;
        }
        .btn-test:hover {
            background-color: #dc2626;
        }
    </style>
</head>
<body>
    <div class="test-container">
        <h1>🎉 CSS 错误已修复！</h1>
        <p class="success">✅ 前端项目现在可以正常运行了</p>
        
        <div class="test-item">
            <h3>修复的问题：</h3>
            <ul>
                <li>❌ <code>border-border</code> 类不存在</li>
                <li>❌ <code>bg-background</code> 和 <code>text-foreground</code> 类不存在</li>
                <li>✅ 已替换为有效的 Tailwind CSS 类</li>
            </ul>
        </div>

        <div class="test-item">
            <h3>现在可以访问：</h3>
            <p><strong>前端地址：</strong> <a href="http://localhost:3000" target="_blank">http://localhost:3000</a></p>
            <p><strong>后端API：</strong> <a href="http://127.0.0.1:8888/swagger/index.html" target="_blank">http://127.0.0.1:8888/swagger/index.html</a></p>
        </div>

        <div class="test-item">
            <h3>功能测试：</h3>
            <button class="btn-test" onclick="window.open('http://localhost:3000', '_blank')">打开前端应用</button>
            <button class="btn-test" onclick="window.open('http://127.0.0.1:8888/swagger/index.html', '_blank')">查看API文档</button>
        </div>

        <div class="test-item">
            <h3>下一步：</h3>
            <ol>
                <li>确保后端服务正在运行 (端口 8888)</li>
                <li>访问前端应用开始体验</li>
                <li>测试登录注册功能</li>
                <li>体验滑动匹配功能</li>
            </ol>
        </div>
    </div>
</body>
</html>
